export interface userList{
  id :number,
  nickName : string,
  role:roleInt[],
  userName:string,
}

interface roleInt{
  role:number,
  roleName:string,
}
interface selectDataIne{
role:number,
nickName:string
}
interface rolelistInt{
  authority:number[],
  roleId:number,
   roleName:string,
}
interface activeInt{
  id :number,
  nickName : string,
  role:number[],
  userName:string,
}
export class userData{
  selectData:selectDataIne={
    nickName:'',
    role:0
  }
   userlist:userList[]=[]//用户信息列表内容
   rolelist:rolelistInt[]=[]//角色信息列表的内容
   isShow=false
   active:activeInt ={//选中的对象
    id :0,
    nickName : '',
    role:[],
    userName:'',
   }
}